package adv329;

import java.util.*;
import java.util.Map;

/**
 * @author oldliu
 * @since 1.0
 */
public class MapToList {
    public static void main(String[] args) {
        Map<String,String> m=new HashMap<>();
        m.put("点头","yes");
        m.put("来","come");
        m.put("去","go");
        m.put("老虎","tiger");
        m.put("猫","cat");
        m.put("男人","man");
        m.put("人类","man");
        Set<String> s1 = m.keySet();
        List<String> list=new ArrayList<>();
        list.addAll(s1);

        System.out.println(list);
    }
}
